﻿<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>办公系统</title>
</head>
<link href="${ctx}/css/main/base.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/css/main/main.css" rel="stylesheet" type="text/css"/>
<body class="m_r">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab_m">
  <tr>
    <td colspan="4" class="zctop left"><span class="font14 zc_bt">注册信息</span></td>
  </tr>
  <tr>
    <td width="15%" class="bg5 right">注册账号：</td>
    <td width="35%">${user.userLogin}</td>
    <td width="15%" class="bg5 right">用户排序号：</td>
    <td width="35%">${user.userOrder}</td>
  </tr>
  <tr>
    <td class="bg5 right">用户姓名：</td>
    <td>${user.userName}</td>
    <td class="bg5 right">用户性别：</td>
    <td><s:if test="user.userSex == 1">女</s:if><s:if test="user.userSex == 0">男</s:if> </td>
  </tr>
  <tr>
     <td class="bg5 right">电子邮件：</td>
    <td>${user.userEmail}</td>
    <td class="bg5 right">用户手机：</td>
    <td>${user.userPhone}</td>
  </tr>
  <tr>
    <td class="bg5 right">所在部门：</td>
    <td>${user.deptName}</td>
    <td class="bg5 right">用户角色：</td>
    <td>${user.roleName}</td>
  </tr>
  <tr>
    <td class="bg5 right">辅助角色组：</td>
    <td>${user.roleNameOther}</td>
    <td class="bg5 right">其他部门组：</td>
    <td ><span class="d_f ml2 h_1 w3">${user.deptNameOther}</span></td>
  </tr>
  
  <tr>
    <td class="bg5 right"><span class="d_f w1 h_1">备注：</span></td>
    <td colspan="3" ><span class="d_f ml2 h_1 w3">
      <textarea name="textfield48222" class="text1" readonly="readonly">${user.userMemo}</textarea>
    </span></td>
  </tr>
  <tr>
    <td colspan="4" class="hei_1"><input  type="button" onclick="audit();" value="审核通过" class="log_f zc_b">
	<input type="button" onclick="modifyUser();" value="修 改" class="log_f zc_b">
	<input type="button" onclick="deleteUser();" value="删 除" class="log_f zc_b">	</td>
  </tr>
</table>
</body>
</html>
<script type="text/javascript">
<!--
function audit(){

window.location = "${ctx}/user/userAudit!audit.action?user.userId=<s:property value="user.userId"/>";
parent.frames['mleft'].location = "${ctx}/user/user_auditLeft.action";

}

function modifyUser(){

window.location = "${ctx}/user/userAudit!preModifyUser.action?user.userId=<s:property value="user.userId"/>";
parent.frames['mleft'].location = "${ctx}/user/user_auditLeft.action";
}

function deleteUser(){

window.location = "${ctx}/user/userAudit!deleteUser.action?user.userId=<s:property value="user.userId"/>";
}
//-->
</script>